package cn.tedu.waste.commons.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author tedu.cn
 * @since 2020-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ward_management")
public class WardManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 病房号
     */
    @TableField("w_room")
    private String wRoom;

    /**
     * 病房类型,ICU重症监护室-0,普通病房-1,单人房-2
     */
    @TableField("w_house")
    private String wHouse;

    /**
     * 医生姓名
     */
    @TableField("w_name")
    private String wName;

    /**
     * 住院日期
     */
    @TableField("w_check_date")
    private LocalDateTime wCheckDate;

    /**
     * 出院日期
     */
    @TableField("w_discharge")
    private LocalDateTime wDischarge;

    /**
     * 患者姓名
     */
    @TableField("w_doctors_name")
    private String wDoctorsName;

    /**
     * 病房状态,有空闲床位0,无空闲床位1
     */
    @TableField("w_state")
    private String wState;

    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField("gmt_modifide")
    private LocalDateTime gmtModifide;


}
